package com.mao.service.product;

import java.util.List;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.mao.model.product.ProductClass;

@Transactional(rollbackFor=Exception.class,propagation=Propagation.REQUIRED)
public interface IProductClassService<T>{
	public List<ProductClass> getAllProductClass(Long storeid);
	
	public List<ProductClass> getAllProductClass();
	
	public ProductClass saveProductClass(ProductClass pc);
	
	public ProductClass updateProductClass(ProductClass pc);
	
	public ProductClass getProductClassById(long id);
	
	// 判断该分类是否可以删除
	public String valDelProClass(long id);
}
